package com.plian.system.entity.fr.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @description:
 * @author: gangan
 * @create: 2020-07-29 11:08
 */
@Data
@TableName("fr_bank_key")
public class BankKey {

    /**
     * 自增id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 集团对应的appId
     */
    private String appId;

    /**
     * 消息加密key
     */
    @TableField(value = "bank_key")
    private String bankKey;

    /**
     * 所属集团id
     */
    private String topGroupId;

    /**
     * 所属集团名称
     */
    private String topGroupName;
}
